package com.baizhi.dao;

import com.baizhi.entity.Admin;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface AdminDAO {
    Admin queryByUsername(String username);

    List<Admin> queryAllPage(@Param("page") Integer page, @Param("pageSize") Integer pageSize);

    int queryCont();

    void delete(String id);
}
